package chapter02;

import java.util.Scanner;

public class shopping04 {
    public static void main(String[] args) {
          Scanner sc =new Scanner(System.in);
        		  System.out.println("请输入新员工的姓名：");
        		  String name=sc.next();
         		  System.out.println("请输入新员工应聘的语言：");
         		  String language=sc.next();
         		  switch(language){
             			  case "Java":
                                case "java":
                 				System.out.println(name+"被分配到java程序开发部门");
                 				break;
             			  case "C#":
                                 case "c#":
                 				System.out.println(name+"被分配到c#程序开发部门");
                 				break;
             			  case "asp.net":
                 				System.out.println(name+"被分配到asp.net程序测试部门");
                				break;
             			  case "html":
                                 case "Html":
                 				System.out.println(name+"被分配到前端程序开发部门");
                 				break;
             			  default:
                 		System.out.println("抱歉，本公司不需要"+language+"语言的人。");
                 			      break;
             		  }
    }
}
